home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr26 / netprog.zip / NETPROG.TAR / rpc.courier / timedate / Makefile < prev    next >
Makefile  |  1989-12-17  |  544b  |  26 lines

  1. #
  2. BIN    = rdate dateserver
  3. GEN    = Date1_defs.h Date1.h Date1_support.c Date1_server.c Date1_client.c
  4. CLIOBJ    = rdate.o Date1_client.o Date1_support.o
  5. SRVOBJ    = dateserver.o Date1_server.o Date1_support.o
  6. LIB    = /tmp3/stevens/xns/lib/libcourier.a
  7. RPCCOM    = /tmp3/stevens/xns/bin/xnscourier
  8. CFLAGS    = -I/tmp3/stevens/xns/include
  9.  
  10. all: $(BIN)
  11.  
  12. $(GEN):        Date.cr
  13.         $(RPCCOM) Date.cr
  14.  
  15. dateserver:    $(SRVOBJ)
  16.         $(CC) -o $@ $(SRVOBJ) $(LIB)
  17.  
  18. rdate:        $(CLIOBJ)
  19.         $(CC) -o $@ $(CLIOBJ) $(LIB)
  20.  
  21. $(CLIOBJ) $(SRVOBJ): Date1_defs.h
  22.  
  23. clean:
  24.         rm -f $(GEN) *.o $(BIN)
  25.  
  26.